Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: have one hcaptcha provider #75

Merged
merged 1 commit into from
Feb 26, 2025
Merged

feat: have one hcaptcha provider #75

merged 1 commit into from
Feb 26, 2025

Conversation

fran-ink
Copy link
Contributor

@fran-ink fran-ink commented Feb 26, 2025

The OG issue was that each useHCaptcha was trying to initialize hcaptcha-container , so we had some errors in the console

Now we have one instance.

The "drawback" is that we can't pass the siteKey dynamically, but I think we are fine with the static value

@fran-ink fran-ink requested a review from a team as a code owner February 26, 2025 17:09
Copy link
Contributor

@ink-victor ink-victor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM.

@fran-ink fran-ink merged commit 817b1b5 into main Feb 26, 2025
4 checks passed
@fran-ink fran-ink deleted the feat/captcha branch February 26, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants